package com.woniu.dao;

import com.woniu.entity.TBatch;
import com.woniu.entity.TBatchExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface TBatchDao {
    long countByExample(TBatchExample example);

    int deleteByExample(TBatchExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(TBatch record);

    int insertSelective(TBatch record);

    List<TBatch> selectByExample(TBatchExample example);

    TBatch selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") TBatch record, @Param("example") TBatchExample example);

    int updateByExample(@Param("record") TBatch record, @Param("example") TBatchExample example);

    int updateByPrimaryKeySelective(TBatch record);

    int updateByPrimaryKey(TBatch record);
}